<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="root">

    </div>
</body>
<script src="../react.js"></script>
<script src="../react-dom.js"></script>
<script src="https://cdn.staticfile.org/babel-standalone/6.26.0/babel.min.js"></script>
<script type="text/babel">
    class App extends React.Component{
        state={

        }
        render(){
            // Fragment 内置组件 在Fragment组件中可以写多个跟标签 react会将 Fragment编译成空
            return (
                <React.Fragment>
                    <h1>213123</h1>
                    <h2>2312312</h2>
                    <h3>321242314234</h3>
                </React.Fragment>
            )
        }
    }

    ReactDOM.render(<App/>,document.getElementById("root"))
</script>
</html>